package member.model.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import member.domain.Member;
import member.exception.DuplicatedIdException;

public interface MemberService {

	public abstract void joinMember(Member member) throws SQLException, DuplicatedIdException;
	
	public abstract void modifyMember(Member member) throws SQLException;
	
	public abstract void removeMemberById(String id) throws SQLException;
	
	public abstract List<Member> getMemberList() throws SQLException;

	public abstract Member getMemberById(String id) throws SQLException;

	public abstract List<Member> searchMemberByName(String name) throws SQLException;

	public abstract Map getMemberListPaging(int page) throws SQLException;
	
}